// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** getDouyinDesc POST /api/douyin/desc */
export async function getDouyinDescUsingPOST(
  body: API.DouyinDescQueryRequest,
  options?: { [key: string]: any },
) {
  return request<API.BaseResponseDescVO_>('/api/douyin/desc', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** getTagsDist POST /api/douyin/dist/tags */
export async function getTagsDistUsingPOST1(
  body: API.DouyinDescQueryRequest,
  options?: { [key: string]: any },
) {
  return request<API.BaseResponseListTagDistVO_>('/api/douyin/dist/tags', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** getDouyinList POST /api/douyin/list */
export async function getDouyinListUsingPOST(options?: { [key: string]: any }) {
  return request<API.BaseResponseListDouyin_>('/api/douyin/list', {
    method: 'POST',
    ...(options || {}),
  });
}

/** getDouyinPage POST /api/douyin/page */
export async function getDouyinPageUsingPOST(
  body: API.DouyinQueryRequest,
  options?: { [key: string]: any },
) {
  return request<API.BaseResponsePageDouyinVO_>('/api/douyin/page', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
